package cn.wp.ewallet.common.service;

import cn.wp.common.core.dto.WpResult;
import cn.wp.ewallet.common.model.dto.ConverRuleDictDto;
import cn.wp.ewallet.common.model.entity.ConverRuleDictDo;

import java.util.List;

/**
 * 兑换规约-业务逻辑层
 * Created by yangjin on 2020/1/13
 */
public interface ConverRoleDictService {

    /**
     * 兑换比例设置
     * @param params 兑换条件
     * @return
     */
    WpResult exchangeMoneyRatioSetting(String params);

    /**
     * 查询币种汇率
     * @param baseMoney
     * @param priceMoney
     * @param converType
     * @return
     */
    ConverRuleDictDto getConverRuleDict(String baseMoney, String priceMoney, String converType);


    /**
     * 查询币种汇率
     * @return
     */
    List<ConverRuleDictDto> getExchangeMoneyRatio();
}
